home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 76 / XENIATGM66.iso / Indiana Jones / Indiana Jones.exe / RESOURCE / PREVIEW.GOB / cog_tem_hint.cog < prev    next >
Text File  |  1999-11-15  |  13KB  |  244 lines

  1. # Jones 3D Cog Script
  2. #
  3. # TEM_Hint.cog
  4. #
  5. # [TRM]
  6. #
  7. # (C) 1999 LucasArts Entertainment Co. All Rights Reserved
  8. # ========================================================================================
  9.  
  10. symbols
  11.     
  12.     message     startup
  13.     message     user0
  14.     message     entered
  15.     message     activated
  16.     
  17.     thing       player      local
  18.     
  19.     thing       hint1       # Level 06-TEM. Hint 1: jump 0: Indy meets Lava Warrior.
  20.     thing       hint2       # Level 06-TEM. Hint 2: jump 1: Enter the Melt Maze.
  21.     thing       hint3       # Level 06-TEM. Hint 3: jump 0: Climb to top of climb wall.
  22.     thing       hint4       # Level 06-TEM. Hint 4: jump 0: Pick up Shark Key.
  23.     thing       hint5       # Level 06-TEM. Hint 5: jump 0: Break IMP#1 wall.
  24.     thing       hint6       # Level 06-TEM. Hint 6: jump 0: Crawl to shark door.
  25.     thing       hint7       # Level 06-TEM. Hint 7: jump 0: Open shark door.
  26.     thing       hint8       # Level 06-TEM. Hint 8: jump 0: Get tiki1.
  27.     thing       hint9       # Level 06-TEM. Hint 9: jump 0: Go to other end of boulder hall.
  28.     thing       hint10      # Level 06-TEM. Hint 10: jump 0: Climb back up to MM.
  29.     thing       hint11      # Level 06-TEM. Hint 11: jump 0: Open Tiki1 door.
  30.     thing       hint12      # Level 06-TEM. Hint 12: jump 0: Enter first bridge area.
  31.     thing       hint13      # Level 06-TEM. Hint 13: jump 0: Drop to broken bridge.
  32.     thing       hint14      # Level 06-TEM. Hint 14: jump 0: Climb up from bridges
  33.     thing       hint15      # Level 06-TEM. Hint 15: jump 0: Climb up again to waterfall.
  34.     thing       hint16      # Level 06-TEM. Hint 16: jump 0: Jump in water, go over first waterfall.
  35.     thing       hint17      # Level 06-TEM. Hint 17: jump 0: Go over second waterfall.
  36.     thing       hint18      # Level 06-TEM. Hint 18: jump 0: Climb first wall.
  37.     thing       hint19      # Level 06-TEM. Hint 19: jump 0: Climb second wall to Tiki2 temple.
  38.     thing       hint20      # Level 06-TEM. Hint 20: jump 0: Cut the rope bridge.
  39.     thing       hint21      # Level 06-TEM. Hint 21: jump 0: Go back fallen bridge side of Hut Connect bridge.
  40.     thing       hint22      # Level 06-TEM. Hint 22: jump 0: Enter caves aka Hut Connect.
  41.     thing       hint23      # Level 06-TEM. Hint 23: jump 0: Climb first ladder.
  42.     thing       hint24      # Level 06-TEM. Hint 24: jump 0: Cut spider web and pass thru.
  43.     thing       hint25      # Level 06-TEM. Hint 25: jump 0: Cut vines and pass to waterfall.
  44.     thing       hint26      # Level 06-TEM. Hint 26: jump 0: Whip swing across waterfall.
  45.     thing       hint27      # Level 06-TEM. Hint 27: jump 0: Slide down slope.
  46.     thing       hint28      # Level 06-TEM. Hint 28: jump 0: Climb down fallen bridge and enter cave.
  47.     thing       hint29      # Level 06-TEM. Hint 29: jump 0: Pick up Monkey Key.
  48.     thing       hint30      # Level 06-TEM. Hint 30: jump 0: Climb back up first climb.
  49.     thing       hint31      # Level 06-TEM. Hint 31: jump 0: Open Monkey Key door (Tiki2 room).
  50.     thing       hint32      # Level 06-TEM. Hint 32: jump 0: Pick up Tiki 2.
  51.     thing       hint33      # Level 06-TEM. Hint 33: jump 0: Drop down to Boulder Dash.
  52.     thing       hint34      # Level 06-TEM. Hint 34: jump 0: Get to other side of Boulder Dash.
  53.     thing       hint35      # Level 06-TEM. Hint 35: jump 0: Go to next bridge to Boss Entrance.
  54.     thing       hint36      # Level 06-TEM. Hint 36: jump 0: Open Boss Door.
  55.     thing       hint37      # Level 06-TEM. Hint 37: jump 0: Walk down to Boss lake, meet Boss.
  56.     thing       hint38      # Level 06-TEM. Hint 38: jump 0: Go to Boss bridge.
  57.     thing       hint39      # Level 06-TEM. Hint 39: jump 0: Make way across lake to first IMP2 shore.
  58.     thing       hint40      # Level 06-TEM. Hint 40: jump 0: Pick up IMP#2.
  59.     thing       hint41      # Level 06-TEM. Hint 41: jump 0: Go back to boss bridge.
  60.     thing       hint42      # Level 06-TEM. Hint 42: jump 0: Cross boss bridge to water side.
  61.     thing       hint43      # Level 06-TEM. Hint 43: jump 0: Jump across lava ravine.
  62.     thing       hint44      # Level 06-TEM. Hint 44: jump 0: Activate button to flood the boss room.
  63.     thing       hint45      # Level 06-TEM. Hint 45: jump 0: Go back to boss bridge.
  64.     thing       hint46      # Level 06-TEM. Hint 46: jump 0: Exit thru exit hallway.
  65.     
  66.     thing       shark_Key   # pick up shark key
  67.     thing       tiki1_Key   # pick up tiki1 key
  68.     
  69.     thing       t_Bridge        # drop down to bridge
  70.     thing       t_BossBridge    # go to boss bridge
  71.     
  72.     sector      sec_Meet        # meet warrior
  73.     sector      sec_MM_Ent      # enter melt maze
  74.     sector      sec_MM_Climb    # top of climb wall
  75.     sector      sec_Crawl       # crawl to shark door
  76.     sector      sec_Boulder     # go back towards MM
  77.     sector      sec_MM_Climb2   # climb back up to MM
  78.     sector      sec_BA_Main     # enter BA main area
  79.     sector      sec_BA_Climb1   # climb up from bridges
  80.     sector      sec_BA_Climb2   # climb up to waterfall
  81.     sector      sec_BA_Fall1    # go over first waterfall
  82.     sector      sec_BA_Fall2    # go over second waterfall
  83.     sector      sec_BA2_Climb1  # climb first wall
  84.     sector      sec_BA2_Climb2  # climb second wall
  85.     sector      sec_HC_Ent      # entrance to hun con
  86.     sector      sec_HC_Climb1   # climb first ladder
  87.     sector      sec_HC_Web      # pass web
  88.     sector      sec_HC_Vines    # pass vines
  89.     sector      sec_WF_Swing    # swing across waterfall
  90.     sector      sec_WF_Slide    # slide down slope
  91.     sector      sec_MK_Enter    # climb down fallen bridge
  92.     sector      sec_BD_Enter    # drop down to BD
  93.     sector      sec_BD_End      # reach other side of BD
  94.     sector      sec_BE_Bridge   # reach boss entrance bridge
  95.     sector      sec_BR_Meet     # meet the boss in boss room
  96.     sector      sec_BR_Shore    # go to imp2 shore
  97.     sector      sec_BR_WatSide  # cross bridge to water side
  98.     sector      sec_BR_Ravine   # jump over ravine
  99.     sector      sec_BR_Exit     # see ya
  100.         
  101.     cog         cog_IMP1        # break down imp wall
  102.     cog         cog_SharkDoor   # open shark door
  103.     cog         cog_Tiki1       # pick up tiki1
  104.     cog         cog_Tiki1Door   # open tiki1 door
  105.     cog         cog_FallBridge  # cut the bridge
  106.     cog         cog_MonkeyKey   # pick up monkey key
  107.     cog         cog_MonkeyDoor  # open monkey door
  108.     cog         cog_Tiki2Key    # pick up tiki 2
  109.     cog         cog_BossDoor    # open boss door
  110.     cog         cog_BossFlood   # flood the boss
  111.     
  112.     int         sender      local
  113.     int         source      local
  114.     
  115. end
  116.  
  117. # ========================================================================================
  118.  
  119. code
  120.  
  121. startup:
  122.  
  123.     player = GetLocalPlayerThing();
  124.     return;
  125.  
  126. # ========================================================================================
  127.  
  128. user0:
  129.  
  130.     Print("user0");
  131.  
  132.     if((GetSenderRef() == cog_IMP1) && (GetHintSolved(hint5) == 0)) SetHintSolved(hint5);
  133.     
  134.     else if((GetSenderRef() == cog_SharkDoor) && (GetHintSolved(hint7) == 0)) SetHintSolved(hint7);
  135.     
  136.     else if((GetSenderRef() == cog_Tiki1) && (GetHintSolved(hint8) == 0)) SetHintSolved(hint8);
  137.     
  138.     else if((GetSenderRef() == cog_Tiki1Door) && (GetHintSolved(hint11) == 0)) SetHintSolved(hint11);
  139.     
  140.     else if((GetSenderRef() == cog_FallBridge) && (GetHintSolved(hint20) == 0)) SetHintSolved(hint20);
  141.     
  142.     else if((GetSenderRef() == cog_MonkeyKey) && (GetHintSolved(hint29) == 0)) SetHintSolved(hint29);
  143.     
  144.     else if((GetSenderRef() == cog_MonkeyDoor) && (GetHintSolved(hint31) == 0)) SetHintSolved(hint31);
  145.     
  146.     else if((GetSenderRef() == cog_Tiki2Key) && (GetHintSolved(hint32) == 0)) SetHintSolved(hint32);
  147.     
  148.     else if((GetSenderRef() == cog_BossDoor) && (GetHintSolved(hint36) == 0)) SetHintSolved(hint36);
  149.     
  150.     else if((GetSenderRef() == cog_BossFlood) && (GetHintSolved(hint40) == 0)) SetHintSolved(hint40);
  151.     
  152.     else if((GetSenderRef() == cog_BossFlood) && (GetHintSolved(hint44) == 0)) SetHintSolved(hint44);
  153.  
  154.     return;
  155.  
  156. # ========================================================================================
  157.  
  158. entered:
  159.  
  160.     sender = GetSenderRef();
  161.     source = GetSourceRef();
  162.  
  163.     if((sender == sec_Meet) && (GetHintSolved(hint1) == 0) && (source == player)) SetHintSolved(hint1);
  164.     
  165.     else if((sender == sec_MM_Ent) && (GetHintSolved(hint2) == 0) && (source == player)) SetHintSolved(hint2);
  166.     
  167.     else if((sender == sec_MM_Climb) && (GetHintSolved(hint3) == 0) && (source == player)) SetHintSolved(hint3);
  168.  
  169.     else if((sender == sec_Crawl) && (GetHintSolved(hint6) == 0) && (source == player)) SetHintSolved(hint6);
  170.     
  171.     else if((sender == sec_Boulder) && (GetHintSolved(hint9) == 0) && (source == player)) SetHintSolved(hint9);
  172.     
  173.     else if((sender == sec_MM_Climb2) && (GetHintSolved(hint10) == 0) && (source == player)) SetHintSolved(hint10);
  174.     
  175.     else if((sender == sec_BA_Main) && (GetHintSolved(hint12) == 0) && (source == player)) SetHintSolved(hint12);
  176.     
  177.     else if((sender == t_Bridge) && (GetHintSolved(hint13) == 0) && (source == player)) SetHintSolved(hint13);
  178.     
  179.     else if((sender == sec_BA_Climb1) && (GetHintSolved(hint14) == 0) && (source == player)) SetHintSolved(hint14);
  180.     
  181.     else if((sender == sec_BA_Climb2) && (GetHintSolved(hint15) == 0) && (source == player)) SetHintSolved(hint15);
  182.     
  183.     else if((sender == sec_BA_Fall1) && (GetHintSolved(hint16) == 0) && (source == player)) SetHintSolved(hint16);
  184.     
  185.     else if((sender == sec_BA_Fall2) && (GetHintSolved(hint17) == 0) && (source == player)) SetHintSolved(hint17);
  186.     
  187.     else if((sender == sec_BA2_Climb1) && (GetHintSolved(hint18) == 0) && (source == player)) SetHintSolved(hint18);
  188.     
  189.     else if((sender == sec_BA2_Climb2) && (GetHintSolved(hint19) == 0) && (source == player)) SetHintSolved(hint19);
  190.     
  191.     else if((sender == sec_BA2_Climb1) && (GetHintSolved(hint21) == 0) && (source == player)) SetHintSolved(hint21);
  192.     
  193.     else if((sender == sec_HC_Ent) && (GetHintSolved(hint22) == 0) && (source == player)) SetHintSolved(hint22);
  194.     
  195.     else if((sender == sec_HC_Climb1) && (GetHintSolved(hint23) == 0) && (source == player)) SetHintSolved(hint23);
  196.     
  197.     else if((sender == sec_HC_Web) && (GetHintSolved(hint24) == 0) && (source == player)) SetHintSolved(hint24);
  198.     
  199.     else if((sender == sec_HC_Vines) && (GetHintSolved(hint25) == 0) && (source == player)) SetHintSolved(hint25);
  200.     
  201.     else if((sender == sec_WF_Swing) && (GetHintSolved(hint26) == 0) && (source == player)) SetHintSolved(hint26);
  202.     
  203.     else if((sender == sec_WF_Slide) && (GetHintSolved(hint27) == 0) && (source == player)) SetHintSolved(hint27);
  204.     
  205.     else if((sender == sec_MK_Enter) && (GetHintSolved(hint28) == 0) && (source == player)) SetHintSolved(hint28);
  206.     
  207.     else if((sender == sec_BA2_Climb1) && (GetHintSolved(hint30) == 0) && (source == player)) SetHintSolved(hint30);
  208.     
  209.     else if((sender == sec_BD_Enter) && (GetHintSolved(hint33) == 0) && (source == player)) SetHintSolved(hint33);
  210.     
  211.     else if((sender == sec_BD_End) && (GetHintSolved(hint34) == 0) && (source == player)) SetHintSolved(hint34);
  212.     
  213.     else if((sender == sec_BE_Bridge) && (GetHintSolved(hint35) == 0) && (source == player)) SetHintSolved(hint35);
  214.     
  215.     else if((sender == sec_BR_Meet) && (GetHintSolved(hint37) == 0) && (source == player)) SetHintSolved(hint37);
  216.     
  217.     else if((sender == t_BossBridge) && (GetHintSolved(hint38) == 0) && (source == player)) SetHintSolved(hint38);
  218.     
  219.     else if((sender == sec_BR_Shore) && (GetHintSolved(hint39) == 0) && (source == player)) SetHintSolved(hint39);
  220.     
  221.     else if((sender == t_BossBridge) && (GetHintSolved(hint41) == 0) && (source == player)) SetHintSolved(hint41);
  222.     
  223.     else if((sender == sec_BR_WatSide) && (GetHintSolved(hint42) == 0) && (source == player)) SetHintSolved(hint42);
  224.     
  225.     else if((sender == sec_BR_Ravine) && (GetHintSolved(hint43) == 0) && (source == player)) SetHintSolved(hint43);
  226.     
  227.     else if((sender == sec_BR_WatSide) && (GetHintSolved(hint45) == 0) && (source == player)) SetHintSolved(hint45);
  228.     
  229.     else if((sender == sec_BR_Exit) && (GetHintSolved(hint46) == 0) && (source == player)) SetHintSolved(hint46);
  230.     
  231.     return;
  232.  
  233. # ========================================================================================
  234.  
  235. activated:
  236.  
  237.     if((GetSenderRef() == shark_Key) && (GetHintSolved(hint4) == 0) && (source == player)) SetHintSolved(hint4);
  238.     
  239.     return;
  240.  
  241. # ========================================================================================
  242. end
  243.  
  244.